

$(function(){
	$('#sort22').change(function(){
		var v = this.value;
		
		$('#hr').href = '/dang/main/bookList.action?parentId=${parentId}&cid=${cid}&currentPage=${currentPage+1}&sort='+v;
		alert(v)
		//location = "/dang/main/bookList.action?sort="+v;
		//window.location = 
		
		
		$.ajax({url:"sort.action",async:true,data:{'sort':v},success:function(data){
//			if(data == true){
//				$('#j1').show();
//				$('#email\\.info').hide();
//				emailFlag = true;
//				$("#j1").html("<img src='../images/checked.gif'/>可以使用");
//				return true
//			}else{
//				$('#email\\.info').show();
//				$('#email\\.info').html("<img src='../images/unchecked.gif'/>邮箱已被使用");
//				$('#j1').hide();
//			}
		}
		});
	})
})